<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=utf-8"%>
<HTML><HEAD><TITLE>舆情探测与上报系统</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content=No-Cache http-equiv=Pragma><LINK rel="shortcut icon" 
href="/favicon.ico">
<STYLE type=text/css>BODY {
	FONT-FAMILY: Arial, Helvetica, sans-serif, "宋体"; COLOR: #333; FONT-SIZE: 12px
}
TD {
	FONT-FAMILY: Arial, Helvetica, sans-serif, "宋体"; COLOR: #333; FONT-SIZE: 12px
}
TH {
	FONT-FAMILY: Arial, Helvetica, sans-serif, "宋体"; COLOR: #333; FONT-SIZE: 12px
}
BODY {
	BACKGROUND-COLOR: #fff; MARGIN: 0px
}
A:link {
	COLOR: #434343; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A:visited {
	COLOR: #434343; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A:active {
	COLOR: #434343; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A:hover {
	FONT-FAMILY: Arial, Helvetica, sans-serif, "宋体"; COLOR: #003cff; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A.blue:link {
	COLOR: #4788ee; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A.blue:visited {
	COLOR: #4788ee; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A.blue:active {
	COLOR: #4788ee; FONT-SIZE: 12px; TEXT-DECORATION: none
}
A.blue:hover {
	COLOR: #ff1e00; FONT-SIZE: 12px; TEXT-DECORATION: none
}
.bg_top {
	BACKGROUND-IMAGE: url(images/loading_jb_bg.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-POSITION: right 50%
}
.gray_1 {
	COLOR: #cbcbcb
}
.table_bk {
	PADDING-BOTTOM: 13px; PADDING-LEFT: 13px; PADDING-RIGHT: 13px; PADDING-TOP: 13px
}
.black_t1_16 {
	COLOR: #3f3f3f; FONT-SIZE: 16px; FONT-WEIGHT: bold
}
.black_t2 {
	COLOR: #959595; FONT-SIZE: 12px
}
.black_t1_14 {
	LINE-HEIGHT: 25px; PADDING-LEFT: 0px; COLOR: #3f3f3f; FONT-SIZE: 14px; FONT-WEIGHT: bold
}
.textfield {
	BORDER-BOTTOM: #d8d8d8 1px solid; BORDER-LEFT: #d8d8d8 1px solid; LINE-HEIGHT: 25px; WIDTH: 196px; FONT-FAMILY: Arial, Helvetica, sans-serif, "宋体"; HEIGHT: 25px; COLOR: #4a4a4a; FONT-SIZE: 12px; BORDER-TOP: #d8d8d8 1px solid; BORDER-RIGHT: #d8d8d8 1px solid
}
.foot {
	COLOR: #7e7e7e; FONT-SIZE: 12px
}
.loginbody {
	WIDTH: 100%; BACKGROUND: url(images/pic_01.jpg) repeat-x; HEIGHT: 100%
}
.btn_login {
	TEXT-ALIGN: center; LINE-HEIGHT: 36px; WIDTH: 89px; DISPLAY: block; BACKGROUND: url(but_loading.gif) no-repeat; HEIGHT: 36px; COLOR: #fff !important; FONT-SIZE: 16px !important; CURSOR: pointer; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
.btn_login:hover {
	TEXT-ALIGN: center; LINE-HEIGHT: 36px; WIDTH: 89px; DISPLAY: block; BACKGROUND: url(but_loading.gif) no-repeat; HEIGHT: 36px; COLOR: #fff !important; FONT-SIZE: 16px !important; CURSOR: pointer; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
.btn_login:hover {
	BACKGROUND: url(but_loading_on.gif) no-repeat; COLOR: #fff; TEXT-DECORATION: none
}
.logintb {
	BACKGROUND: url(images/pic_05.jpg) no-repeat; HEIGHT: 306px
}
.logintab {
	MARGIN-LEFT: 100px
}
</STYLE>

<SCRIPT type=text/javascript>

function kmss_onsubmit(){
	var loginInput = "请输入用户名和密码";
	if(document.forms[0].loginName.value==""){
		alert(loginInput);
		document.forms[0].loginName.focus();
		return false;
	}
	if(document.forms[0].password.value==""){
		alert(loginInput);
		document.forms[0].password.focus();
		return false;
	}
	//document.getElementsByName("btn_submit")[0].disabled = true;	 
	//encryptPassword();
	return true;
}

function getpara()//获取参数的函数
{
   var url=document.URL;
  var para="";
   if(url.lastIndexOf("?")>0)
   {
        para=url.substring(url.lastIndexOf("?")+1,url.length);
		var arr=para.split("&");
		para="";
		for(var i=0;i<arr.length;i++)
		{
			if(arr[i].split("=")[0]=="errorMsg"){
				if(arr[i].split("=")[1]=="1"){
					alert("密码错误!");
				}else if(arr[i].split("=")[1]=="2"){
					alert("用户名不存在!");
				}
			}
		   //para+="第"+(i+1)+"个参数>>名:"+arr[i].split("=")[0];
		   //para+=" 值:"+arr[i].split("=")[1]+"<br>";
		}
		//alert(para);
   }
   else
   {
	   /**
	    var loginName = document.getElementsByName('loginName')[0].value;
		if(loginName==""){ 
			document.getElementsByName('loginName')[0].focus();
		}
		else{
			document.getElementsByName('password')[0].focus();
		}
		*/
   }

}


window.onload=function(){
	getpara();//执行函数
	
}
</SCRIPT>

<SCRIPT>


//function encryptPassword(){ 
//	document.forms[0].password.value = desEncrypt(document.forms[0].password.value);
//}
</SCRIPT>

<META name=GENERATOR content="MSHTML 8.00.7601.18021"></HEAD>
<BODY>
<FORM onsubmit="return kmss_onsubmit();" method=post name=ssoForm 
action="login">
<DIV class=loginbody>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=1002 align=center>
  <TBODY>
  <TR>
    <TD height=148 width="33%" align=middle><IMG 
      src="images/pic_03.jpg"></TD></TR></TBODY></TABLE>
<TABLE class=logintb border=0 cellSpacing=0 cellPadding=0 width=1002 
align=center>
  <TBODY>
  <TR>
    <TD>
      <DIV style="HEIGHT: 200px">
      <TABLE class=logintab border=0 cellSpacing=0 cellPadding=0 width=350>
        <TBODY>
        <TR>
          <TD>
            <TABLE class=table_bk border=0 cellSpacing=0 cellPadding=1 
            width="100%">
              <TBODY>
              <TR>
                <TD class=black_t2 height=32 colSpan=2>系统提示： 请输入用户名和密码 </TD></TR>
              <TR>
                <TD class=black_t1_14 height=25 vAlign=center 
                align=middle>用户名：</TD>
                <TD class=black_t1_14 vAlign=center align=left><INPUT 
                  style="WIDTH: 150px" class=textfield onfocus=select(); 
                  name=loginName> </TD></TR>
              <TR>
                <TD class=black_t1_14 height=25 align=middle>密　码：</TD>
                <TD class=black_t1_14 align=left><input type="hidden" name="entry" value="<%=request.getParameter("entry") %>"/><INPUT style="WIDTH: 150px" 
                  class=textfield onfocus=select(); type=password name=password> 
                </TD></TR></TBODY></TABLE></TD>
          <TD style="WIDTH: 100px; PADDING-TOP: 30px" align=left ;><A 
            href="javascript:document.getElementsByName('btn_submit')[0].click();"><IMG 
            border=0 src="images/btn_07.jpg"></A> <INPUT style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; WIDTH: 0px; BACKGROUND: none transparent scroll repeat 0% 0%; HEIGHT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" value=提交 type=submit name=btn_submit_test> 
          </TD></TR>
        <TR></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=1002 align=center>
  <TBODY>
  <TR>
    <TD height=60>&nbsp;</TD></TR>
  <TR>
    <TD bgColor=#cfcfcf height=1></TD></TR>
  <TR>
    <TD height=40 vAlign=center align=middle>
      <TABLE border=0 cellSpacing=0 cellPadding=0 width="35%">
        <TBODY>
        <TR>
          <TD class=foot align=left>Copyright© 2013 CSOT.lnc.All Rights 
            Reserved.</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><INPUT style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; WIDTH: 0px; BACKGROUND: none transparent scroll repeat 0% 0%; HEIGHT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" value=提交 type=submit name=btn_submit> 
</DIV></FORM></BODY></HTML>